<!DOCTYPE html>
<html>
	<head>
	    <meta charset="utf-8">
	    <title>彩种管理 - 后台管理系统</title>
	    <meta name="renderer" content="webkit|ie-comp|ie-stand">
	    <meta name="apple-mobile-web-app-capable" content="yes">
	    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
	    <link rel="stylesheet" type="text/css" href="static/css/font-awesome.min.css"/>
	    <link rel="stylesheet" href="static/css/style.css">
	    <link rel="stylesheet" href="static/layui/css/layui.css"/>
	</head>
	<style type="text/css">
	   #edui1  { z-index:1 !important; }
       #edui75 { z-index:1 !important; }
	</style>
	<body>
		<div class="subnav">
			<a href="">首页</a> &gt; <a href="">系统管理</a> &gt; 彩种管理
		</div>
		<div class="main-inner">
			<div class="x-body">
				<div class="layui-main">
					<form class="layui-form" action="?" method="post">
						<input type="hidden" name="m" value="{$m}" />
						<input type="hidden" name="c" value="{$c}" />
						<input type="hidden" name="a" value="{$a}" />
						<input type="hidden" name="operation" value="add"/>
						<div class="layui-form-item">
							<label class="layui-form-label">彩种名称：</label>
							<div class="layui-input-inline">
								<input type="text" name="name" required="true" value="" placeholder="彩种名称" autocomplete="off" class="layui-input">
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item" style="z-index: 99999;">
							<label class="layui-form-label">设置归属:</label>
							<div class="layui-input-inline">
								<select name="pid">
									<option value="0">--顶级--</option>
									{loop $menuTreeData as $val}
										<option value="{$val['id']}" {if $id == $val['id']} selected="selected" {/if}>{$val['line'] . $val['name']}</option>
									{/loop}
								</select>
							</div>
						</div>
						<div class="layui-form-item" style="z-index: 1;">
							<label class="layui-form-label">排序：</label>
							<div class="layui-input-inline">
								<input type="text" name="sort" value="" placeholder="排序设置" autocomplete="off" class="layui-input">
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item" style="z-index: 1;">
							<label class="layui-form-label">标识样式：</label>
							<div class="layui-input-inline">
								<input type="text" name="tags" value="" placeholder="标识样式(介绍说明上的样式图)" autocomplete="off" class="layui-input">
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item" style="z-index: 1;">
							<label class="layui-form-label">彩种简称：</label>
							<div class="layui-input-inline">
								<input type="text" name="sname" value="" placeholder="彩种统一简称" autocomplete="off" class="layui-input">
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">栏目状态:</label>
							<div class="layui-input-inline"><input type="checkbox" name="status" lay-skin="switch" lay-text="是|否"></div>
						</div>
						<div class="layui-form-item" style="z-index: 1;">
							<label class="layui-form-label">分类简介：</label>
							<div class="layui-input-inline">
								<script src="http://www.qipai101.com/lib/ueditor/ueditor.config.js"></script>
								<script src="http://www.qipai101.com/lib/ueditor/ueditor.all.min.js"></script>
								<script src="http://www.qipai101.com/lib/ueditor/lang/zh-cn/zh-cn.js"></script>
								<script id="editor_description" name="description" type="text/plain" style="width:100%;height:100px;"></script>
								<script type="text/javascript">var _ue = UE.getEditor("editor_description");</script>
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item" style="z-index: 1;">
							<label class="layui-form-label">详细说明：</label>
							<div class="layui-input-inline">
								<script id="editor_content" name="content" type="text/plain" style="width:100%;height:300px;"></script>
								<script type="text/javascript">var _ue = UE.getEditor("editor_content");</script>
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						
						<div class="layui-form-item">
							<label for="" class="layui-form-label"></label>
							<div class="layui-input-inline">
								<a class="layui-btn" href='?m=user&c=notice'>返回</a>
								<button class="layui-btn" type="submit">确定</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		
	</body>

	<script src="static/layui/layui.js" charset="utf-8"></script>
	<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
	<script>
	layui.use(['form', 'layedit', 'laydate'], function(){
	  var form = layui.form
	  ,layer = layui.layer
	  ,layedit = layui.layedit
	  ,laydate = layui.laydate;
	});
	</script>

</html>
